package com.easy.concert;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@EnableDiscoveryClient//开启 注册服务
@EnableDubbo
@ComponentScan(basePackages = {"com.easy.common.config.mybatis","com.easy.concert"})
//@EnableJpaRepositories(basePackages = "com.easy.concert.repository")
//@EntityScan(basePackages = "com.easy.common.bean")
public class ConcertApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConcertApplication.class, args);
    }
}




